package org.opens.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 数据库表备注: 附件表
 * @author zhangyuming
 * @data 2023年02月02日
 */
public class FndAppendixEntity implements Serializable {

    private static final long serialVersionUID = 8092225005175446544L;

    /**
     * 唯一id标识
     * - 对应数据库类型: VARCHAR2
     */
    private String id;

    /**
     * 存储表名
     * - 对应数据库类型: VARCHAR2
     */
    private String attr1;

    /**
     * 存储主键名
     * - 对应数据库类型: VARCHAR2
     */
    private String attr2;

    /**
     * 附件类型
     * - 对应数据库类型: VARCHAR2
     */
    private String attr3;

    /**
     * 领导是否签名成功标识，Y为领导已签名
     * - 对应数据库类型: VARCHAR2
     */
    private String attr4;

    /**
     * 文件类型二级分类
     * - 对应数据库类型: VARCHAR2
     */
    private String attr5;

    /**
     * 备用字段
     * - 对应数据库类型: VARCHAR2
     */
    private String attr6;

    /**
     * 定稿标识：Y为有水印定稿，N为无水印定稿，空为未定稿
     * - 对应数据库类型: VARCHAR2
     */
    private String attr7;

    /**
     * 备用字段
     * - 对应数据库类型: VARCHAR2
     */
    private String attr8;

    /**
     * 备用字段
     * - 对应数据库类型: VARCHAR2
     */
    private String attr9;

    /**
     * 版本
     * - 对应数据库类型: VARCHAR2
     */
    private String prop1;

    /**
     * 页数
     * - 对应数据库类型: VARCHAR2
     */
    private String prop2;

    /**
     * 份数
     * - 对应数据库类型: VARCHAR2
     */
    private String prop3;

    /**
     * 合同相对方ID
     * - 对应数据库类型: VARCHAR2
     */
    private String prop4;

    /**
     * 保护密钥
     * - 对应数据库类型: VARCHAR2
     */
    private String prop5;

    /**
     * 记录第一次签章返回的presignId，天津和福建目前是‘该文件是从电子签章服务器中取得’,后续修改功能后需要修改该注释
     * - 对应数据库类型: VARCHAR2
     */
    private String attr10;

    /**
     * 电子签章场景标识，SIGN_SCENE_BOTH为双方签章，SIGN_SCENE_WE为仅我方签章，SIGN_SCENE_VENDOR为仅对方签章，空为不选择
     * - 对应数据库类型: VARCHAR2
     */
    private String attr11;

    /**
     * 顺延审批文件的表识：“postpone_no”不顺延审批文件，“postpone_yes”顺延审批文件
     * - 对应数据库类型: VARCHAR2
     */
    private String attr12;

    /**
     * 保存用户选择的签名方式。DRAG_SEAL：拖拽签署,ELECTRONIC_SEAL：电子签署
     * - 对应数据库类型: VARCHAR2
     */
    private String attr13;

    /**
     * 批保存时的批ID
     * - 对应数据库类型: VARCHAR2
     */
    private String batchId;

    /**
     * 文件原始名称
     * - 对应数据库类型: VARCHAR2
     */
    private String filename;

    /**
     * 文件大小
     * - 对应数据库类型: NUMBER
     */
    private Integer filesize;

    /**
     * 
     * - 对应数据库类型: VARCHAR2
     */
    private String fileMd5;

    /**
     * 上传人id
     * - 对应数据库类型: NUMBER
     */
    private Integer uploader;

    /**
     * 文件类型(doc、txt)
     * - 对应数据库类型: VARCHAR2
     */
    private String fileType;

    /**
     * 是否临时文件
     * - 对应数据库类型: CHAR
     */
    private String tempFlag;

    /**
     * 租户ID
     * - 对应数据库类型: VARCHAR2
     */
    private String tenantId;

    /**
     * 上传时间
     * - 对应数据库类型: DATE
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdate;

    /**
     * 
     * - 对应数据库类型: VARCHAR2
     */
    private String usedprerestid;

    /**
     * filedata字段是否保存文件
     * - 对应数据库类型: CHAR
     */
    private String filedataenabled;

    /**
     * 最后更新人
     * - 对应数据库类型: NUMBER
     */
    private Integer lastUpdatedBy;

    /**
     * 如果为本地存储 另存为的名字
     * - 对应数据库类型: VARCHAR2
     */
    private String localFileName;

    /**
     * 如果为本地存储 需要设置文件存储路径
     * - 对应数据库类型: VARCHAR2
     */
    private String localFilePath;

    /**
     * 最后更新时间
     * - 对应数据库类型: DATE
     */
    private Date lastUpdateDate;

    /**
     * 文件归档流程
     * - 对应数据库类型: VARCHAR2
     */
    private String fileArchiveFlow;

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAttr1() {
        return this.attr1;
    }

    public void setAttr1(String attr1) {
        this.attr1 = attr1;
    }

    public String getAttr2() {
        return this.attr2;
    }

    public void setAttr2(String attr2) {
        this.attr2 = attr2;
    }

    public String getAttr3() {
        return this.attr3;
    }

    public void setAttr3(String attr3) {
        this.attr3 = attr3;
    }

    public String getAttr4() {
        return this.attr4;
    }

    public void setAttr4(String attr4) {
        this.attr4 = attr4;
    }

    public String getAttr5() {
        return this.attr5;
    }

    public void setAttr5(String attr5) {
        this.attr5 = attr5;
    }

    public String getAttr6() {
        return this.attr6;
    }

    public void setAttr6(String attr6) {
        this.attr6 = attr6;
    }

    public String getAttr7() {
        return this.attr7;
    }

    public void setAttr7(String attr7) {
        this.attr7 = attr7;
    }

    public String getAttr8() {
        return this.attr8;
    }

    public void setAttr8(String attr8) {
        this.attr8 = attr8;
    }

    public String getAttr9() {
        return this.attr9;
    }

    public void setAttr9(String attr9) {
        this.attr9 = attr9;
    }

    public String getProp1() {
        return this.prop1;
    }

    public void setProp1(String prop1) {
        this.prop1 = prop1;
    }

    public String getProp2() {
        return this.prop2;
    }

    public void setProp2(String prop2) {
        this.prop2 = prop2;
    }

    public String getProp3() {
        return this.prop3;
    }

    public void setProp3(String prop3) {
        this.prop3 = prop3;
    }

    public String getProp4() {
        return this.prop4;
    }

    public void setProp4(String prop4) {
        this.prop4 = prop4;
    }

    public String getProp5() {
        return this.prop5;
    }

    public void setProp5(String prop5) {
        this.prop5 = prop5;
    }

    public String getAttr10() {
        return this.attr10;
    }

    public void setAttr10(String attr10) {
        this.attr10 = attr10;
    }

    public String getAttr11() {
        return this.attr11;
    }

    public void setAttr11(String attr11) {
        this.attr11 = attr11;
    }

    public String getAttr12() {
        return this.attr12;
    }

    public void setAttr12(String attr12) {
        this.attr12 = attr12;
    }

    public String getAttr13() {
        return this.attr13;
    }

    public void setAttr13(String attr13) {
        this.attr13 = attr13;
    }

    public String getBatchId() {
        return this.batchId;
    }

    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    public String getFilename() {
        return this.filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public Integer getFilesize() {
        return this.filesize;
    }

    public void setFilesize(Integer filesize) {
        this.filesize = filesize;
    }

    public String getFileMd5() {
        return this.fileMd5;
    }

    public void setFileMd5(String fileMd5) {
        this.fileMd5 = fileMd5;
    }

    public Integer getUploader() {
        return this.uploader;
    }

    public void setUploader(Integer uploader) {
        this.uploader = uploader;
    }

    public String getFileType() {
        return this.fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getTempFlag() {
        return this.tempFlag;
    }

    public void setTempFlag(String tempFlag) {
        this.tempFlag = tempFlag;
    }

    public String getTenantId() {
        return this.tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Date getCreatedate() {
        return this.createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public String getUsedprerestid() {
        return this.usedprerestid;
    }

    public void setUsedprerestid(String usedprerestid) {
        this.usedprerestid = usedprerestid;
    }

    public String getFiledataenabled() {
        return this.filedataenabled;
    }

    public void setFiledataenabled(String filedataenabled) {
        this.filedataenabled = filedataenabled;
    }

    public Integer getLastUpdatedBy() {
        return this.lastUpdatedBy;
    }

    public void setLastUpdatedBy(Integer lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public String getLocalFileName() {
        return this.localFileName;
    }

    public void setLocalFileName(String localFileName) {
        this.localFileName = localFileName;
    }

    public String getLocalFilePath() {
        return this.localFilePath;
    }

    public void setLocalFilePath(String localFilePath) {
        this.localFilePath = localFilePath;
    }

    public Date getLastUpdateDate() {
        return this.lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getFileArchiveFlow() {
        return this.fileArchiveFlow;
    }

    public void setFileArchiveFlow(String fileArchiveFlow) {
        this.fileArchiveFlow = fileArchiveFlow;
    }

}